package com.jic.order.mapper;

import com.jic.order.entity.OrderBaleDelivery;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 物流信息表
 * @author :
 * @email :
 * @since : 2020-03-03 02:39:07
 * @version : v1.0.0
 */
@Mapper
public interface  OrderBaleDeliveryMapper {

    long insert(OrderBaleDelivery orderBaleDelivery);

    long delete(Long id);

    long update(OrderBaleDelivery orderBaleDelivery);

    OrderBaleDelivery queryByPrimaryKey(Long id);

    List<OrderBaleDelivery> query(OrderBaleDelivery orderBaleDelivery);

    List<OrderBaleDelivery> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderBaleDelivery") OrderBaleDelivery orderBaleDelivery);

    long queryPageCount(OrderBaleDelivery orderBaleDelivery);

    long deleteByNo(OrderBaleDelivery orderBaleDelivery);

    int addBaleDelivery(@Param("list")List<OrderBaleDelivery> list);

    OrderBaleDelivery queryDeliveryByOrderNo(OrderBaleDelivery orderBaleDelivery);
}
